package models

import "time"

type WeekCourse struct {
	Id                 int64     `orm:"description(自增主键)"`
	User               *User     `orm:"rel(fk);null;default(0);description(发布人Id)" json:"-"`
	Class              *Class    `orm:"rel(fk);null;default(0);description(班级id)" json:"-"`
	MondayMorning      string    `orm:"description(星期一上午课程)"`
	MondayAfternoon    string    `orm:"description(星期一下午课程)"`
	TuesdayMorning     string    `orm:"description(星期二上午课程)"`
	TuesdayAfternoon   string    `orm:"description(星期二下午课程)"`
	WednesdayMorning   string    `orm:"description(星期三上午课程)"`
	WednesdayAfternoon string    `orm:"description(星期三下午课程)"`
	ThursdayMorning    string    `orm:"description(星期四上午课程)"`
	ThursdayAfternoon  string    `orm:"description(星期四下午课程)"`
	FridayMorning      string    `orm:"description(星期五上午课程)"`
	FridayAfternoon    string    `orm:"description(星期五下午课程)"`
	SaturdayMorning    string    `orm:"description(星期六上午课程)"`
	SaturdayAfternoon  string    `orm:"description(星期六下午课程)"`
	SundayMorning      string    `orm:"description(星期日上午课程)"`
	SundayAfternoon    string    `orm:"description(星期日下午课程)"`
	Created            time.Time `orm:"auto_now_add;type(datetime);description(发布时间)" json:"-"`
	CreatedShow        string    `orm:"-" json:"-"`
	CreatedDateShow    string    `orm:"-"`
	ClassName          string    `orm:"-"`
}
